import request from '@/utils/request'

/**
 * 获取企业备案信息
 */
export function getFilingInfo (companyId) {
    return request({
        url: '/basic-api/company/comFilingInfo/filingInfo/' + companyId,
        method: 'GET',
    })
}

/**
 * 添加企业备案信息
 */
export function addFilingInfo (data) {
    return request({
        url: '/basic-api/company/comFilingInfo/FilingAdd',
        method: 'POST',
        data,
    })
}

/**
 * 编辑企业备案信息
 */
export function editFilingInfo (data) {
    return request({
        url: '/basic-api/company/comFilingInfo/FilingEdit',
        method: 'put',
        data
    })
}
